package com.example.rxjavalearn2.simple_rxjava;

import io.reactivex.disposables.Disposable;

/**
 * Description: 观察者,终点
 * Author: wucan
 * Date: 20-5-29 下午4:15
 */
public interface Observer<T> {

    void onSubscribe(Disposable d);


    void onNext(T value);


    void onError(Throwable e);


    void onComplete();
}
